package com.web.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.web.entity.RecognitionHistory;

import java.util.Map;

//public interface RecognitionHistoryService extends IService<RecognitionHistory> {
////    IPage<RecognitionHistory> getHistoryList(Long userId, int page, int size, String type, String keyword);
////    RecognitionHistory getHistoryDetail(Long id);
////    boolean deleteHistory(Long id, Long userId);
////    boolean clearAllHistory(Long userId);
////    Map<String, Object> getUserStats(Long userId);
////    RecognitionHistory saveRecognitionResult(RecognitionHistory history);
////}
public interface RecognitionHistoryService extends IService<RecognitionHistory> {
    IPage<RecognitionHistory> getHistoryList(Long userId, int page, int size, String type, String keyword, String imageUrl);
    RecognitionHistory getHistoryDetail(Long id);
    boolean deleteHistory(Long id, Long userId);
    boolean clearAllHistory(Long userId);
    Map<String, Object> getUserStats(Long userId);
    RecognitionHistory saveRecognitionResult(RecognitionHistory history);
}
